.form.box.light-gray
  %h2 Регистрация

  = form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
    = devise_error_messages!

    .left= f.label :email
    .right= f.email_field :email

    .left= f.label :first_name
    .right= f.text_field :first_name

    .left= f.label :last_name
    .right= f.text_field :last_name

    .left= f.label :password
    .right= f.password_field :password

    .left= f.label :password_confirmation
    .right= f.password_field :password_confirmation

    .left &nbsp;
    .right.actions= f.submit "Зарегистрироваться", :class => "btn primary small"

    .links
      = render 'links'
